package com.vgemv.jsutilitysdk.InputBar;

import android.graphics.Color;

import com.vgemv.jsutilitysdk.geometry.JsGeometryManager;
import com.vgemv.jsutilitysdk.JsColorManager.JsColorManager;

public class JsBottomInputBarBetaVm {
    //推荐值,超过这个值,控件居中排布,top,bottom留白.
    //少于这个值,控件显示不完全.
    public static int inputBarHegiht = JsGeometryManager.pixelFromDp(50);
    public static int inpuBarWidth = JsGeometryManager.getScreenSizeInPixel().getWidth();

    public static int imageSize = JsGeometryManager.pixelFromDp(22);
    //左右边距
    public static int hPadding = JsGeometryManager.pixelFromDp(20);
    //元素之间的间隔
    public static int itemSpacing = JsGeometryManager.pixelFromDp(16);
    public static int separatorWidth = JsGeometryManager.pixelFromDp(1);

    //Like
    public static int likeHeight = JsGeometryManager.pixelFromDp(35);

    //EditText
    public static int editTextWidth = inpuBarWidth - imageSize * 3 - separatorWidth - itemSpacing * 4 - hPadding * 2;
    public static int editTextTopMargin = JsGeometryManager.pixelFromDp(10);
    public static int editTextHeight = inputBarHegiht - editTextTopMargin * 2;
    public static int mi_textColor = JsColorManager.grayColorMax255(180);
    //草稿的红色颜色值
    public static int mi_draftColor = Color.argb(255,255,50,50);
    public static int mi_textSize = 15;

    public static int mi_likeColor = Color.argb(255,198,52,32);
    public static int mi_unlikeColor = JsColorManager.grayColorMax255(138);

    public static int mi_maskColor = Color.argb(40,0,0,0);

    // -------------------------------

    //InputBar的背景色
    public Integer mi_barBackgroundColor = Color.argb(255,230,230,230);
    public Integer mi_buttonBackgroundColor = null;
    public Integer mi_editTextBackgroundColor = Color.argb(255,255,255,255);
    public Integer mi_separatorBackgroundColor = JsColorManager.grayColorMax255(200);

    public String mstr_text = "";



    public boolean isPicked;
    public boolean isLiked;
    public int likeCount;


}
